package org.example.librarysystemspringboot.dao;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.librarysystemspringboot.entity.model.Book;

import java.util.List;

@Mapper
//@Repository
public interface BookMapper {
    List<Book> getAllBooks(@Param("typeId") String  typeId,@Param("page") int page , @Param("limit") int limit);

    List<Book> selectBooks(Book book);
}
